<?php
if(!isset($file_field_id=$_GET['file_field_id']) || !isset($file_field_name=$_GET['file_field_name'])) {
	return false;
} else {
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MyGuide-Upload File Module</title>
    <link href="uploadify.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript" src="jquery.uploadify.v2.1.4.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
          $('#file_upload').uploadify({
      'uploader'    : 'uploadify.swf',
      'script'      : 'uploadify.php',
      'cancelImg'   : 'cancel.png',
	  'buttonImg'   : 'button.png',
      'folder'      : '/uploads',
      'displayData' : 'speed'
    });
	  
    });
    </script>

</head>

<body>
       <input type="file" id="<?php $file_field_id; ?>" name="<?php $file_field_name; ?>" />
</body>
</html>
<?php } ?>